package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.RoleBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lyl
 * description:
 */
@Mapper
public interface IRoleDao extends BaseMapper<RoleBean> {

    RoleBean showRoleById(@Param("roleId") int roleId);

    List<RoleBean> showAll();
}
